/**
 * 功能:TK_DELIVERIES Dao类
 * 开发人员:chengd
 * 创建时间:2012/4/29 14:19:26
 */
package com.towker.frame.dao.sell;

import org.springframework.stereotype.Repository;
import com.towker.core.db.BaseDao;
import com.towker.frame.model.sell.Delivery;

@Repository
@SuppressWarnings("unchecked")
public class DeliveryDao extends BaseDao<Delivery, Long>
{
	@Override
	public Class getEntityClass()
	{
		return Delivery.class;
	}

	public String getLastDeliverySN() {
		return (String)getSqlSessionTemplate().selectOne(getIbatisMapperNamespace()+".getLastDeliverySN", null);
	}
}